﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity.PB
{
    /// <summary>
    /// 设备维修申请
    /// </summary>
    [Table("Base_RepairOrderApply")]
    public partial class Base_RepairOrderApply
    {

        /// <summary>
        /// 主键id
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }

        /// <summary>
        /// 维修申请人
        /// </summary>
        public String Applicant { get; set; }

        /// <summary>
        /// 报修时间
        /// </summary>
        public DateTime? ApplicationDate { get; set; }

        /// <summary>
        /// 设备名称
        /// </summary>
        public String DeviceId { get; set; }

        /// <summary>
        /// 故障描述
        /// </summary>
        public String FaultDescription { get; set; }

        /// <summary>
        /// 审批状态
        /// </summary>
        public Int32? States { get; set; }

        /// <summary>
        /// 设备审批人
        /// </summary>
        public String MaintenanceApprover { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public Boolean Deleted { get; set; }


        /// <summary>
        ///维修单号
        /// </summary>
        public string RepairOrderNo { get; set; }
        /// <summary>
        /// 故障类别
        /// </summary>
        public string Type { get; set; }
    }
}